# coding=utf-8
'''
Created on 2011-8-29

@author: chris
'''

IDX_PAGE = 'PAGE_INDEX'


class Page(object):
    '''
    classdocs
    '''

    def __init__(self, name, desc, url):
        '''
        Constructor
        '''
        self.name = name
        self.desc = desc
        self.url = url
    
    # 是否是索引(index)页面    
    def is_index(self):
        return self.name == IDX_PAGE